package com.example.demo_job.service;

import com.example.demo_job.entity.Position;
import com.example.demo_job.entity.PositionRescruit;

import java.util.List;

public interface PositionService {
    List<PositionRescruit> ShowPosition(String cusername);

    String FindInfo(int pid);

    void DeletePosition(int pid);

    void InsertPosition(int cid,String pname,String pinfo,double salary,String paddress,int enumber);

    String FindPinfo(int pid);

    void Write(String tsinfo, String cv);

    Position FindPositionBypid(int pid);

    void UpdatePosition(int pid,String pname,double salary,String paddress,int enumber);

    String findPnameBypid(int pid);

    int findPidByPnameAndCid(int cid1, String pname);

    List<PositionRescruit> searchPosition(int cid, String value);
}
